package com.zbf.moredb.web;

import com.zbf.moredb.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/24  14:18
 * 描述:
 */
@RestController
public class TestMoreDbController {

    @Autowired
    private TestService testService;

    /**
     * 作者: LCG
     * 日期: 2021/3/24  14:19
     * 描述: 数据源 manger2  注解
     * @Param []
     * @Return void
     */
    @RequestMapping("test101")
    public void test101(){
        testService.test101();
    }

    /**
     * 作者: LCG
     * 日期: 2021/3/24  14:20
     * 描述: 数据源 manger2  xml
     * @Param []
     * @Return void
     */
    @RequestMapping("test102")
    public void test102(){
        testService.test102();
    }



    @RequestMapping("test201")
    public void test201(){
        testService.test201();
    }


    @RequestMapping("test201101")
    public void test201101(){
        testService.test201101();
    }

}
